Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

[fix] Correctly aim at the right doc snippet files#94

Merged
scottinet merged 2 commits into
3-devfrom
fix/doc-snippets
Jun 30, 2020
Merged

[fix] Correctly aim at the right doc snippet files#94
scottinet merged 2 commits into
3-devfrom
fix/doc-snippets

Conversation

@Leodau
Copy link
Copy Markdown
Contributor

@Leodau Leodau commented Jun 29, 2020

What does this PR do ?

Updated a few doc files to aim the real existing .java files, instead of some .js

  • collection/get-mapping
  • collection/truncate
  • document/delete-by-query
  • document/update-by-query

Current behaviour

image

How should this be manually tested?

Clone and launch:
npm install & npm run doc-prepare & npm run doc-build

You should not see any errors related to missing snippets.

Boyscout

To get the ci build to succed, had to update document/update test file to expect:
'expected: "_id=some-id, _version=2"'
instead of:
'{expected: "_id=some-id, _version=2"}'

@Leodau Leodau self-assigned this Jun 29, 2020
@scottinet scottinet merged commit 1d7f107 into 3-dev Jun 30, 2020
@scottinet scottinet deleted the fix/doc-snippets branch June 30, 2020 08:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants